/**
 * Created with IntelliJ IDEA.
 * User: userService
 * Email: guobin@ebigdata.org
 * Date: 2017/11/20
 * Time: 17:13
 * To change this template use File | Settings | File Templates.
 */
import http from '@/tools/http/http'

function servive () {
  let myServices = {}

  // 综合管理》操作日志
  myServices._getLogList = (data) => {
    return http.POST('./api/operate_log/list', data)
  }
  // 综合管理》校区管理》新增校区
  myServices._addCampus = (data) => {
    return http.POST('./api/campus/add', data)
  }
  // 综合管理》校区管理》编辑校区
  myServices._editCampus = (data) => {
    return http.POST('./api/campus/edit', data)
  }// 综合管理》校区管理》获取校区列表
  myServices._getCampusList = () => {
    return http.GET('./api/campus/list')
  }

  return myServices
}

export default servive
